﻿<Window x:Class="RoutedEventsDemo.Window1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Window1" Height="300" Width="300" MouseDown="Window_MouseDown" PreviewMouseDown="Window_PreviewMouseDown">
    <Grid Margin="5">
        <Border Margin="5" BorderBrush="Black" BorderThickness="1">
            <StackPanel>
                <Button x:Name="btn" Click="OnClick" >One</Button>
                <TextBlock>Two</TextBlock>
                <Ellipse Height="100" Fill="Green" />
            </StackPanel>
        </Border>
    </Grid>
</Window>
